package structure

//充币状态
type DepositState uint8

const (
	DepositInit DepositState = 1 //充币交易-初始化

	DepositTransactionConfirming     DepositState = 2 //充币交易-链上确认中
	DepositTransactionConfirmSuccess DepositState = 3 //充币交易-链上确认成功
	DepositTransactionConfirmFail    DepositState = 4 //充币交易-链上确认失败

	DepositBillConfirming     DepositState = 5 //充币交易-交易所上账中
	DepositBillConfirmSuccess DepositState = 6 //充币交易-交易所上账成功
	DepositBillConfirmFail    DepositState = 7 //充币交易-交易所上账失败
)

type DepositOrder struct {
	Hash          string       `json:"Hash"`
	DepositState  DepositState `json:"DepositState"`
	From          string       `json:"From"`
	To            string       `json:"To"`
	UID           string       `json:"UID"`
	DepositAmount string       `json:"DepositAmount"`
	Ts            int64        `json:"Ts"`
	Remark        string       `json:"Remark"` //备注
}
